Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(behavior_path_start_planner_module): add support for rqt reconfig #6492

Conversation

danielsanchezaran
Copy link
Contributor

@danielsanchezaran danielsanchezaran commented Feb 26, 2024

Description

Add support for rqt reconfigure for the start planner

Tests performed

Tests in PSim:

cap-.2024-02-26-16-36-02.mp4

In the above example, I use a custom script to place the ego vehicle in the same position for each test, at the beggining, both geometric pull out and shift pull out are enabled, then I disable both and call my script to place the start and goal in the same pose, this time, there is no path since both pull out methods are disabled (params updated successfully) , then I enable geometric_pull out and set the ego poses again and a path is generated using geom pull out
Note that the start and goal pose must be placed again after updating parameters.

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Feb 26, 2024
@danielsanchezaran danielsanchezaran added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Feb 26, 2024
@danielsanchezaran danielsanchezaran marked this pull request as ready for review February 26, 2024 07:41
@kosuke55
Copy link
Contributor

kosuke55 commented Feb 26, 2024

thanks!!!!!

just a question, can we change the vector parameter too? updateParam for this parameter is not found in the diff.
image
(capture from your video)

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 0% with 283 lines in your changes are missing coverage. Please review.

Project coverage is 14.63%. Comparing base (4b784b4) to head (2a37942).
Report is 1 commits behind head on main.

Files Patch % Lines
...behavior_path_start_planner_module/src/manager.cpp 0.00% 283 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6492      +/-   ##
==========================================
- Coverage   14.66%   14.63%   -0.04%     
==========================================
  Files        1900     1900              
  Lines      130361   130638     +277     
  Branches    38381    38381              
==========================================
  Hits        19123    19123              
- Misses      89780    90057     +277     
  Partials    21458    21458              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 14.66% <ø> (+<0.01%) ⬆️ Carriedforward from 4b784b4

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!
Thank you so much for the improvement!

@danielsanchezaran
Copy link
Contributor Author

thanks!!!!!

just a question, can we change the vector parameter too? updateParam for this parameter is not found in the diff. image (capture from your video)

Ah, it seems some params were missing (the script I used to get all the updateParams lines is not perfect) I think I have added them all now

@danielsanchezaran danielsanchezaran force-pushed the feat/add-rqt-reconfig-support-for-bpspm branch from 5fb1406 to d9f9004 Compare February 27, 2024 03:11
@danielsanchezaran danielsanchezaran enabled auto-merge (squash) February 27, 2024 03:11
@danielsanchezaran danielsanchezaran force-pushed the feat/add-rqt-reconfig-support-for-bpspm branch from d9f9004 to 9881a06 Compare February 27, 2024 04:34
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
@danielsanchezaran danielsanchezaran force-pushed the feat/add-rqt-reconfig-support-for-bpspm branch from 9881a06 to 2a37942 Compare February 27, 2024 05:44
@danielsanchezaran danielsanchezaran merged commit 2acb840 into autowarefoundation:main Feb 27, 2024
19 of 23 checks passed
@danielsanchezaran danielsanchezaran deleted the feat/add-rqt-reconfig-support-for-bpspm branch February 27, 2024 22:05
danielsanchezaran added a commit to tier4/autoware.universe that referenced this pull request Feb 28, 2024
autowarefoundation#6492)

* add support for rqt reconfig

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>

* add missing params to update

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>

---------

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
HansRobo pushed a commit that referenced this pull request Mar 12, 2024
#6492)

* add support for rqt reconfig

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>

* add missing params to update

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>

---------

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
autowarefoundation#6492)

* add support for rqt reconfig

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>

* add missing params to update

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>

---------

Signed-off-by: Daniel Sanchez <danielsanchezaran@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants